<form id="pagerForm" method="post" action="">
    <input type="hidden" name="pageNum" value="{$pageNum}" />
	<input type="hidden" name="numPerPage" value="{$numPerPage}" />
	<input type="hidden" name="orderField" value="{$orderField}" />
	<input type="hidden" name="orderDirection" value="{$orderDirection}" />
	<input type="hidden" name="keywords" value="{$keywords}" />
	<input type="hidden" name="sfield" value="{$sfield}" />
	<input type="hidden" name="platform" value="{$platform}" />
	<input type="hidden" name="sfield_name" value="u.id,u.username,u.mobile" />
</form>
<div class="pageHeader">
   <!-- <form rel="pagerForm" onsubmit="return navTabSearch(this);" action="" method="post">
        <input type="hidden" name="m" value="{$module_name}" /><input type="hidden" name="a" value="{$action_name}" />
        <div class="searchBar">
            <ul class="searchContent">
                <li style="width:210px;">
                    <label style="width:60px;">
                        关键字：
                    </label>
                    <input type="text" name="keywords" value="{$keywords}" style="width:120px;"/>
                </li>
                <li style="width:60px;">
                    <select name="sfield" class="combox">
					<option value="all" {if $wherefields=='all'}selected="selected"{/if}>全部</option>
					<option value="username" {if $wherefields=='username'}selected="selected"{/if}>用户名</option>
					<option value="id" {if $wherefields=='id'}selected="selected"{/if}>用户ID</option>
					<option value="mobile" {if $wherefields=='mobile'}selected="selected"{/if}>手机号码</option>
				</select>
				<input type="hidden" name="sfield_name" value="id,username,mobile" />
                </li>
               
			    <li>
                	
                    <select name="usergroup">
                        <option value="all" {if $sfied=='all'}selected="selected"{/if}>全部</option>
                        <volist name="usergroup" id="row">
                            <option value='{$row.id}' {if $roleid == $row['id']}  selected='selected' {/if}>{$row.name}  </option>
                        </volist>
                    </select>
                </li>
				
                <div class="buttonActive">
                    <div class="buttonContent">
                        <button type="submit">
                            检索
                        </button>
                    </div>
                </div>
            </ul>
        </div>
    </form>-->
</div>
<div class="pageContent">
    <div class="panelBar">
        <ul class="toolBar">
            <php>
                $param=array();
                if($pid){
                }
            </php>
            <li>
                <a class="add" href="{:U('Supplier/user_add')}" target="dialog" width="580" height="350" rel="User_add"><span>添加用户</span></a>
            </li>
            <!--<li><a class="edit" href="{:U('User/edit')}&id={sid_dv}" target="dialog" width="580" height="350" warn="请选择一个用户"><span>修改用户信息</span></a></li>-->
            <li>
                <a class="icon" href="{:U('User/detail')}&id={sid_dv}" target="dialog" height="500" warn="请选择一个用户"><span>查看用户信息</span></a>
            </li>
            <li>
                <a class="icon" href="javascript:$.printBox('user_list')"><span>打印</span></a>
            </li>
        </ul>
    </div>
    <div id="user_list">
        <table class="table" layoutH="113">
            <thead>
                <tr>
					<th width="60" orderField="id" {if $orderField=='id'}class="{$orderDirection}"{/if}>
					ID
					</th>
					<th width="120" orderField="id" {if $orderField=='id'}class="{$orderDirection}"{/if}>
					订单编号
					</th>
					<th width="200" orderField="username" {if $orderField=='username'}class="{$orderDirection}"{/if}>
					产品ID
					</th>
					<th  width="200">
					供应商产品ID	
					</th>
					<th  width="200">
					价格
					</th>
					<th  width="260">
					数量
					</th>
					<th  width="260">
					产品总价
					</th>
					<th  width="200">
					供应商ID
					</th>
					<th width="160">
					操作
					</th>
                </tr>
            </thead>
            <tbody>
                <volist name="list" id="vo">
                    <tr target="sid_dv" rel="{$vo['id']}">
                        <td>
                            {$vo['id']}
                        </td>
                        <td>
                            {$vo['sn']}
                        </td>
                        <td>
                          	{$vo['product_id']}
                        </td>
                        <td>
							{$vo['mer_productid']}
                        </td>
                        <td>
							{$vo['price']}
                        </td>
                        <td>
							{$vo['number']}
                        </td>
                        <td>
							{$vo['amount']}
                        </td>
                         <td>
							{$vo['mer_userid']}
                        </td>
                        <td><a class="add" target="dialog" width="580" height="350" rel="User_add"  href="{:U('Supplier/product_add',array('id'=>$vo['id']))}">添加商品</td>
                    </tsr>
                </volist>
            </tbody>
        </table>
    </div>
<include file="Index:pages" />
</div>
